package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 发料配置对象 a_ware_fl
 * 
 * @author ruoyi
 * @date 2025-03-15
 */
public class AWareFl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 发料批次 */
    @Excel(name = "发料批次")
    private String flbatch;

    /** 碎片率 */
    @Excel(name = "碎片率")
    private BigDecimal dfloat;

    /** 工单 */
    @Excel(name = "工单")
    private String workorder;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplier;

    /** 剩余数量 */
    @Excel(name = "剩余数量")
    private Long remaining;

    /** 发料数量 */
    @Excel(name = "发料数量")
    private Long toal;

    /** 组织 */
    @Excel(name = "组织")
    private String groupId;

    /** 是否足够  0 不足  1足够 */
    private String ifEnough;

    public String getIfEnough() {
        return ifEnough;
    }

    public void setIfEnough(String ifEnough) {
        this.ifEnough = ifEnough;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFlbatch(String flbatch) 
    {
        this.flbatch = flbatch;
    }

    public String getFlbatch() 
    {
        return flbatch;
    }
    public void setDfloat(BigDecimal dfloat) 
    {
        this.dfloat = dfloat;
    }

    public BigDecimal getDfloat() 
    {
        return dfloat;
    }
    public void setWorkorder(String workorder) 
    {
        this.workorder = workorder;
    }

    public String getWorkorder() 
    {
        return workorder;
    }
    public void setSupplier(String supplier) 
    {
        this.supplier = supplier;
    }

    public String getSupplier() 
    {
        return supplier;
    }
    public void setRemaining(Long remaining) 
    {
        this.remaining = remaining;
    }

    public Long getRemaining() 
    {
        return remaining;
    }
    public void setToal(Long toal) 
    {
        this.toal = toal;
    }

    public Long getToal() 
    {
        return toal;
    }
    public void setGroupId(String groupId) 
    {
        this.groupId = groupId;
    }

    public String getGroupId() 
    {
        return groupId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("flbatch", getFlbatch())
            .append("dfloat", getDfloat())
            .append("workorder", getWorkorder())
            .append("supplier", getSupplier())
            .append("remaining", getRemaining())
            .append("toal", getToal())
            .append("groupId", getGroupId())
            .toString();
    }
}
